package com.cloudbroker.bcs.platform.dav.middle.service.impl;import javax.annotation.Resource;import org.springframework.stereotype.Service;import com.cloudbroker.bcs.platform.dav.middle.dao.FavoriteDAO;import com.cloudbroker.bcs.platform.dav.middle.entity.Favorite;import com.cloudbroker.bcs.platform.dav.middle.service.FavoriteService;import com.cloudbroker.bcs.platform.dav.middle.service.base.TenantServiceImplBase;@Servicepublic class FavoriteServiceImpl extends TenantServiceImplBase<Favorite, String>        implements FavoriteService {            @Resource    private FavoriteDAO favoriteDAO;        @Override    protected FavoriteDAO getDAO() {        return favoriteDAO;    }	@Override	public Favorite getByPositionStr(String position_str) {		return favoriteDAO.getByPositionStr(position_str, getTenantId());	}    }